package cn.one.ball.mapper;

import cn.one.ball.entity.Banner;

import java.util.List;

public interface BannerMapper {

    List<Banner> select();

    Banner selectById(int id);

    void insert(String url);
    Banner deleteById(int id);

    void update(Banner banner);
}
